import {
  http
} from '@/api/server.js'

/**
 * 封面图
 * @param {None} none - 查询参数
 */
export const getLaunchPicService = () => {
  return http.get(`/addons/news_manager/api.article/pagedetail?id=1`,{
	  
  });
}

/**
 * 学校列表
 * @param {String} str - 查询参数
 */
export const getSchoolListService = (str) => {
  return http.get(`/addons/schoolmanager/api.school/getSchoolList?attr=${str}`,{
	  
  });
}

/**
 * 属性列表
 * @param {None} none - 查询参数
 */
export const getSchoolAttrListService = () => {
  return http.get(`addons/schoolmanager/api.school/getAttrList`,{
	  
  });
}

/**
 * 轮播图接口
 * @param {None} none - 查询参数
 */
export const getBannerListService = () => {
  return http.get(`/addons/rotation/api.rotation/list`,{
	  
  });
}

/**
 * 公告列表接口
 * @param {None} none - 查询参数
 */
export const getNoticeListService = () => {
  return http.get(`/addons/news_manager/api.article/articlelists?cid=1`,{
	  
  });
}

/**
 * 公告列表详情接口
 * @param {Number} id - 查询参数
 */
export const getNoticeDetailService = (id) => {
  return http.get(`/addons/news_manager/api.article/articledetail?id=${id}`,{
	  
  });
}

/**
 * 底部栏导航接口
 * @param {None} none - 查询参数
 */
export const getTabbarListService = () => {
  return http.get(`addons/menu_nav/api.MenuNavs/menunavlists`,{
	  
  });
}